package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/19.9:12
 */
/**
 * 预算申请明细表
 */
@ApiModel(value="com-bosssoft-entity-po-FibBudgetPO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_budget")
public class FibBudgetPO implements Serializable {
    /**
     * 预算id
     */
    @TableId(value = "bgt_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="预算id")
    private Long bgtId;

    /**
     * 申请时间
     */
    @TableField(value = "bgt_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="申请时间")
    private Date createTime;

    /**
     * 申请部门
     */
    @TableField(value = "bgt_department")
    @ApiModelProperty(value="申请部门")
    private Long bgtDepartment;

    /**
     * 申请原因
     */
    @TableField(value = "bgt_reason")
    @ApiModelProperty(value="申请原因")
    private String bgtReason;

    /**
     * 申请种类
     */
    @TableField(value = "bgt_type")
    @ApiModelProperty(value="申请种类")
    private String bgtType;

    /**
     * 申请金额
     */
    @TableField(value = "bgt_amount")
    @ApiModelProperty(value="申请金额")
    private BigDecimal bgtAmount;

    /**
     * 申请状态
     */
    @TableField(value = "bgt_status")
    @ApiModelProperty(value="申请状态")
    private Byte bgtStatus;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}